﻿using System;
using System.Collections.Generic;

namespace WebDotNet.Samples.WdnMicroBlog.App.Entites
{
	public class Entry
	{
		public Guid Id { get; set; }
		public string Title { get; set; }
		public string Content { get; set; }
		public DateTime CreatedOn { get; set; }
		public string Slug { get; set; }
		public List<Comment> Comments { get; set; }
	}

	public class Comment
	{
		public Guid Id { get; set; }
		public Guid EntryId { get; set; }
		public string Name { get; set; }
		public string Url { get; set; }
		public string Email { get; set; }
		public DateTime CreatedOn { get; set; }
		public string Content { get; set; }
	}
}
